package com.rskj.res59mng.core.entity;

import javax.validation.constraints.NotEmpty;

/**
 * 定义表单对象
 */
public class LoginForm {
    @NotEmpty(message = "必须输入用户账号！")
    private String account;
    @NotEmpty(message = "必须输入密码！")
    private String passwd;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPasswd() {
        return passwd;
    }

    public void setPasswd(String passwd) {
        this.passwd = passwd;
    }

    @Override
    public String toString() {
        return "LoginForm{" +
                "account='" + account + '\'' +
                ", passwd='" + passwd + '\'' +
                '}';
    }
}
